<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:c="http://java.sun.com/jstl/core"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:rich="http://richfaces.org/rich"
      xmlns:a4j="http://richfaces.org/a4j">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="pragma" content="no-cache" />
</head>
<body>
<div class="section">
	<a4j:form id="loadId">
		<rich:panel header="RichFaces Greeter" style="width: 315px">
			<h:outputText value="Your name: " />
			<h:inputText value="#{user.firstName}">
				<f:validateLength minimum="1" maximum="30" />
			</h:inputText>
			<a4j:commandButton value="Get greeting" action="load"/>
			<br/><br/>
			<h:panelGroup id="greeting">
				<h:outputText value="Hello, "  />
				<h:outputText value="#{user.name}" />
				<h:outputText value="!"  />
			</h:panelGroup>
		</rich:panel>
	</a4j:form>
</div>
</body>
</html>